<?php
$this->pageHeader = t('LBL_VIEW_PROFILE', 'profile');
$this->pageTitle = t('PAGE_TITLE', 'profile');
$logedInUser = User::model()->findByPk(Yii::app()->user->id);
?>
<?php
   $this->renderPartial('_form', array('model'=>$model));
?>

<?php
Yii::app()->clientScript->registerScript('disableAllControls', '
$(document).ready(function() {               
    $(".profile").find("input[type=text], input[type=password], textarea, select").attr("disabled", "disabled");
    $(".profile").find("input[type=text], input[type=password], textarea, select").parent().addClass("input disabled");
    $(".cbaddnew").remove();    
    $(".hideonview").remove();
    $(".ui-datepicker-trigger").remove();    
});', CClientScript::POS_END);

